package com.atguigu.Ioc_02;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package com.atguigu.Ioc_02
 * @date 2024/4/21 下午5:09
 */
public class SimpleMovieLister {

    private MovieFinder movieFinder;

    private String movieName;

    public void setMovieFinder(MovieFinder movieFinder) {
        this.movieFinder = movieFinder;
    }

    public void setMovieName(String movieName){
        this.movieName = movieName;
    }

    // business logic that actually uses the injected MovieFinder is omitted...
}